import {createBrowserRouter} from "react-router-dom";
import Form1 from "../pages/Form1";
import NotFound from "../pages/NotFound";
import Form2 from "../pages/Form2";

const router = createBrowserRouter([

    {
        path: "/form1/:source",
        element: <Form1/>
    },
    {
        path: "/form2/:source",
        element: <Form2/>
    },
    {
        path: "*",
        element: <NotFound/>
    },


]);
export default router;
